package com.huatai.bi.dto.bigScreen;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.huatai.bi.utils.FilterComponent.Node;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @BelongsProject: itc-airport-cloud
 * @BelongsPackage: com.itc.bi.dto.bigScreen
 * @Author: hecaiy
 * @CreateTime: 2024-07-13  13:36
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@ApiModel(value = "大屏数据集数据查询")
public class BigScreenDataSetQueryDTO implements Serializable{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "数据集id")
    private Long id;

    @ApiModelProperty(notes = "组件标题")
    private String title;

    @ApiModelProperty(notes = "数据集X轴配置")
    @JsonProperty("xAxis")
    private List<BigScreenXAxisDTO> xAxis;

    @ApiModelProperty(notes = "数据集Y轴配置")
    @JsonProperty("yAxis")
    private List<BigScreenYAxisDTO> yAxis;

	@ApiModelProperty(notes = "颜色配置")
	private String colorSet;

    @ApiModelProperty(notes = "全字段联动配置")
    private LinkageAndDowncastAllColumnDTO linkageAllColumn;

    @ApiModelProperty(notes = "全字段下钻配置")
    private LinkageAndDowncastAllColumnDTO downcastAllColumn;

    @ApiModelProperty(notes = "数据集过滤条件")
    private Node node;

    @ApiModelProperty(notes = "数据集全局过滤条件")
    private List<BigScreenGlobalFilterDTO> globalFilter;
    @ApiModelProperty(notes = "是否聚合切片")
    private String isAggregate;
    @ApiModelProperty(notes = "分页序号")
    private Integer pageIndex;
    @ApiModelProperty(notes = "分页大小")
    private Integer pageSize;
}
